<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div  th:fragment="category-box">
    <h2>商品分类</h2>
    <dl th:each="big: ${application.bigCateList}">
        <dt th:text="${big.epcName}">图书音像</dt>
        <dd th:each="small: ${application.smallCateList}" th:if="${big.epcId==small.epcParentId}">
            <a th:href="@{/category/linked_product(cateId=${small.getEpcId()})}" th:text="${small.epcName}">图书</a>
        </dd>
    </dl>
</div>
</body>
</html>